<?php

/*
 * 微信相关配置
 */
$weixinConf = [
    "siteName"=>'yyxch',
    "domainName"=>'xc.3114.cc',
    "webTitle"=>'音乐相册制作号',
    'appid' => 'wx9882de88692a77d9',
    'appsecret' => '7f8598b916cc75c016583f0c382eff24',
    'token' => 'wangwei',
    'guanzhuUrl' => 'http://mp.weixin.qq.com/s?__biz=MzIwOTU4NjQ5OA==&mid=100000002&idx=1&sn=5e9bccd6c78dc6491fe7675ed113b212&scene=0#wechat_redirect', //关注链接
];

$menu = '{
                "button": [
                    {
                        "name": "开始制作",
                        "sub_button": [
                            {
                               "type": "pic_photo_or_album",
                                "name": "创建相册",
                                "key": "iweite_n", 
                                                    "sub_button": []
                            },
                            {
                                "type": "pic_photo_or_album",
                                "name": "添加图片",
                                "key": "iweite_add", 
                                                    "sub_button": []
                            }
                        ]
                    },
                            {
                        "type": "click",
                        "name": "我的相册",
                        "key": "iweite_f"
                    },
                    {
                        "type": "view",
                        "name": "相册广场",
                        "url": ""
                    }
                ]
            }';
return [
    "menu"=>$menu,
    "weixinConf"=>$weixinConf, 
];